package leetcode.string;

import leetcode.string.common.StringUtils;

class Solution744 {
    public char nextGreatestLetter(char[] letters, char target) {
        return StringUtils.nextGreatestLetter(letters, target);
    }
}

public class leetcode744 {
    public static void main(String[] args) {
        Solution744 solution744 = new Solution744();
        char[] letters = {'c', 'f', 'j'};
        char target = 'a';
        System.out.println(solution744.nextGreatestLetter(letters, target));
    }
}
